
rm -f usr/bin/pngfix
rm -f usr/bin/png-fix-itxt

#fix debian messing around with locations...
if [ -e lib/libpng12.so.0 ];then
 ln -snf ../../lib/libpng12.so.0 usr/lib/libpng12.so.0.22.0
 ln -snf ../../lib/libpng12.so.0 usr/lib/libpng.so.0
 ln -snf ../../lib/libpng12.so.0 usr/lib/libpng.so.2.1.0.8
 ln -snf ../../lib/libpng12.so.0 usr/lib/libpng.so.2
 ln -snf ../../lib/libpng12.so.0 usr/lib/libpng.so.3
 ln -snf ../../lib/libpng12.so.0 usr/lib/libpng.so.3.22.0
fi
